home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <stdlib.h>
- #include <time.h>
-
- #define kALotofMemmory (10L* 1024L * 1024L)
-
-
- int main(void)
- {
- char* myPtr;
- printf ("Hello World, This is a Membuddy Test\n\n");
- printf("\nThe size resource is set to 384K and I am going to allocate %ld K\n", kALotofMemmory / 1024);
-
- myPtr = malloc(kALotofMemmory);
- printf("myPtr = %8.8lX\n", myPtr);
- return 0;
- }
-
-